/**
 * 
 */
package com.sys.console.business;

import java.util.ArrayList;
import java.util.List;

import com.sys.console.common.base.BaseMoreService;
import com.sys.console.pojo.SysRoleLinkAuthorithDto;
import com.sys.console.pojo.Sys_Role;

/**
 * 
 * @author 陈成军 角色管理
 */
public interface SysRoleService extends BaseMoreService<Sys_Role,Integer>{
	
	//public Sys_Role selectByPrimaryKey(Integer rid) throws Exception;
	
	//public int saveSysRole(Sys_Role record) throws Exception;
	
	//public int updateByPrimaryKey(Sys_Role record) throws Exception;
	
	//public int deleteByPrimaryKey(Integer rid) throws Exception;
	
	public ArrayList<Sys_Role> selectByUid(Integer rid) throws Exception;
	
	//public int selectByPageCount(Sys_Role record) throws Exception;
	
	//public ArrayList<Sys_Role> selectByPage(int startRow, int iperpage, Sys_Role record) throws Exception;
	
	public ArrayList<Sys_Role> selectByList() throws Exception;
	
	public List<SysRoleLinkAuthorithDto> queryRoleAuthorityListByUid(Integer uid) throws Exception;
}
